home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / QDHLP201.ZIP;1 / QDHLPSRC.ZIP / TMACRO.QDH < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.4 KB  |  63 lines

  1. //
  2. // topicmacro command
  3. //
  4.  
  5. /topic TOPICMACRO_COMMAND,WIN30
  6.  
  7.     /title The /topicmacro command
  8.     /keywords /topicmacro;commands
  9.     /browse commands,AUTO
  10.  
  11.     /para
  12.       /text \b,The /topicmacro command is only avialable for Windows 3.1 and beyond.
  13.     /endpara
  14.  
  15. /endtopic
  16.  
  17. /topic TOPICMACRO_COMMAND,WIN31
  18.  
  19.     /title The /topicmacro command
  20.     /keywords /topicmacro;commands
  21.     /browse commands,AUTO
  22.  
  23.     /para 
  24.       /text \b\i\fs40,The /topicmacro command {\i0\cf0 (Win 3.1)}
  25.     /endpara
  26.  
  27.     /para \sa150
  28.       The /topicmacro command has the following syntax
  29.     /endpara
  30.  
  31.     /para \sa150
  32.       /text \b\f3,/topicmacro macro1[;macro2...]
  33.     /endpara
  34.  
  35.     /para \sa150
  36.       The /topicmacro command is used to cause a macro to be run when
  37.       a topic is activated via a hotspot etc.  In this way you can cause
  38.       a macro to be run when a topic is selected.
  39.       Select this to see an
  40.       /link TOPICMACRO_EXAMPLE,Example
  41.     /endpara
  42.  
  43.     /para \sa150
  44.       /text \b,Command Placement
  45.     /endpara
  46.  
  47.     /para
  48.       This command must be placed after the /topic command
  49.       but before any /para command.
  50.     /endpara
  51.  
  52. /endtopic
  53.  
  54. /topic TOPICMACRO_EXAMPLE
  55.  
  56.     /topicmacro about()
  57.  
  58.     /para
  59.       This is an example notice how the About box came up when you 
  60.       choose this topic!  That was a /topicmacro running
  61.     /endpara
  62.  
  63. /endtopic